package com.cjl.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cjl.model.system.SysRole;
import com.cjl.vo.system.AssignRoleVo;

import java.util.Map;

public interface SysRoleService extends IService<SysRole> {

    //查询所有角色和当前用户所属角色
    Map<String, Object> findRoleDataByUserId(Long userId);

    //为用户分配角色
    void doAssign(AssignRoleVo assignRoleVo);
}
